
from django.urls import path, re_path, include

from . import views

urlpatterns = [
    # path(r'home/', include('home.urls')),
    # path(r'user/', include('users.urls')),
    # path(r'course/', include('course.urls')),
    path(r"", views.CartAPIView.as_view({"post": "add", 'get': 'list', 'patch': 'changeSelected', 'put': 'change_expire'})),
    path(r"del/", views.CartDelAPIView.as_view({'post': 'del_cart'})),

]